<template>
  <SizeWatcher #default="{ height, width }">
    <div class="Content">
      <slot v-if="height > 0" :height="Math.max(0, height - 60)" :width="width"></slot>
    </div>
  </SizeWatcher>
</template>
<script>
export default {
  props: {
    title: {
      type: Boolean,
      default: false
    }
  }
}
</script>
<style lang="scss" scoped>
.Content {
  position: absolute;
  inset: 0;
  height: 100%;
  padding-top: 84px;
}
</style>
